﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class cardbigimg : MonoBehaviour
{

    private Card card;
    private GameObject img;

    void Start()
    {
        img = GameObject.Find("cardbigimg");
    }

    public void Activate(Card card)
    {
        this.card = card;
        img.GetComponent<Image>().sprite = card.Sprite;
    }

    public void Deactivate()
    {

    }
}
